package com.neo.push.core;

/**
 * Created by lock on 17-7-11.
 *
 * 一般的消息
 */
public class TextMessage extends AbstractMessage {

    public TextMessage(byte[] content){
        setContent(content);
        setType(MessageType.TEXT);
        setLength(6+content.length);
    }

    public TextMessage(MessageType type,byte[] content){
        setContent(content);
        setType(type);
        setLength(6+content.length);
    }

}
